<?php
/**
 * Created By Project
 * Author: 陈东
 * Copyright：陈东
 * Source Code：陈东
 * Explain：I shall not authorize for any other commercial purposes, law breakers must be prosecuted.
 */
namespace Admin\Model;
use Think\Model;
class TypeModel extends Model{
	protected $_validate = array(
			array('typename','require','标题不能为空！'),
			array('typename','','标题已经存在！',1,'unique',1),
			array('domain','','domain已经存在！',1,'unique',1),
			array('domain','/^[a-z]{1,10}+$/','domain只能是8-10位的字母组合！',0,'regex',1),
			array('epname','require','企业名称不能为空！'),
	);

}
?>